<?php
class a{
    public $arr=array();
    public function __construct(){
        $this->arr[1]="Number 1";
        $this->arr[2]="Number 2";
        $this->arr[3]="Number 3";
    }
    public function a($i){
        return($this->arr[$i]);
    }
    private function b(){
        
    }
}
$a=new a();
//echo $a->a(3);
print_r($a->arr);
?>